﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Sample
{
  public class GridTelerikViewModel
  {
    private List<ObjDemo> _allObjDemos = new List<ObjDemo>
      {
        new ObjDemo { Name = "Test1", Status = Status.Passed }, 
        new ObjDemo { Name = "Test2", Status = Status.Failed },
        new ObjDemo { Name = "Test3", Status = Status.Passed }
      };

    public List<ObjDemo> AllObjDemos
    {
      get { return _allObjDemos; }
      set { _allObjDemos = value; }
    }

    public List<Status> AllEnumValues
    {
      get { return Enum.GetValues(typeof (Status)).Cast<Status>().ToList(); }
    }

    public GridTelerikViewModel()
    {
    }
  }
}
